# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=conmon
pkgver=2.0.20
pkgrel=0
pkgdesc="An OCI container runtime monitor"
url="https://github.com/containers/conmon"
arch="all"
license="Apache-2.0"
makedepends="glib-dev bash"
source="$pkgname-$pkgver.tar.gz::https://github.com/containers/conmon/archive/v$pkgver.tar.gz"

build() {
	make
}

check() {
	./bin/conmon --version
}

package() {
	make install PREFIX=/usr DESTDIR="$pkgdir"
}

sha512sums="ca60ff47f4da760c9fb80dfb91041b6cd2ca71a99a63d101d83f74b2b81b776661aa7d158f0b236444d59e21664d45506a937d77f95277b17d6c478327a879fe  conmon-2.0.20.tar.gz"
